package com.navinfo.platform.hive2mysql;

import com.navinfo.platform.common.dto.BaseApplication;
import com.navinfo.platform.common.service.IDataHandleService;
import com.navinfo.platform.common.service.ILoadDataService;
import com.navinfo.platform.hive2mysql.service.ExportHandleService;
import com.navinfo.platform.hive2mysql.service.ExportLoadDataService;

public class Hive2MysqlTool extends BaseApplication {
    @Override
    protected String getFileName() {
        return "config/export_tool/config.properties,config/export_tool/common.properties";
    }

    @Override
    protected IDataHandleService getDataHandleService() {
        return ExportHandleService.INS;
    }

    @Override
    protected ILoadDataService getLoadDataService() {
        return ExportLoadDataService.INS;
    }

    public static void main(String[] args) {
        new Hive2MysqlTool().start(args);
    }
}
